/*Copyright (c) 2020 Orca Data Technology(Xi'an)CO.LTD. All rights reserved. * Create by Jisr on 2021/1/19 3:47 下午*/
.container-header {
    width: 100%;
    max-width: 100%;
    height: 40px;
    transition: all 0.5s;
    //background-color: #fefefe;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    overflow: hidden;
    //padding: 0 20px;
    background-image: linear-gradient(to top, #fefefe 0, #fefefe 20%, #efefef 20%, #efefef 100%);
    .container-header-prev {
        height: 100%;
        width: 100px;
        //background-image: linear-gradient(to top, #fefefe 0, #fefefe 20%, #efefef 20%, #efefef 100%);
        background-color: #efefef;
        min-width: 100px;
    }
    .container-header-next {
        height: 100%;
        width: 50px;
        //background-image: linear-gradient(to top, #fefefe 0, #fefefe 20%, #efefef 20%, #efefef 100%);
        background-color: #efefef;
        min-width: 50px;
    }
    .tab-view {
        width: calc(100% - 150px);
        display: flex;
        flex-direction: row;
        align-items: center;
        height: 80%;
        //background-color: #efefef;
    }
    .tab-view-list {
        max-width: calc(100% - 40px);
        display: flex;
        flex-direction: row;
        align-items: center;
        height: 100%;
    }
    .tab-item {
        height: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        //max-width: 150px;
        background-color: #efefef;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        //padding: 0 10px;
        user-select: none;
        cursor: pointer;
        transition: all 0.1s;
        box-sizing: border-box;
        min-width: 40px;
    }
    .tab-item-inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
        justify-content: space-between;
        .tab-item-label {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            display: inline-block;
            flex: 1;
            max-width: 120px;
        }
        //border-left: 1px solid #fefefe;
        //border-right: 1px solid #fefefe;
    }
    .tab-inner-active-lt {
        border-left: 1px solid #ddd;
        //border-right: 1px solid #efefef;
    }
    .tab-inner-active-gt {
        border-right: 1px solid #ddd;
        //border-left: 1px solid #efefef;
    }
    .tab-inner-first {
        border-left: 0 none;
    }
    .tab-item-active {
        background-color: #fefefe;
        border-radius: 6px 6px 0 0;
        //height: 80%;
    }
    .tab-item-active-gt {
        border-bottom-right-radius: 6px;
    }
    .tab-item-active-lt {
        border-bottom-left-radius: 6px;
    }
    .add-tab-btn {
        width: 30px;
        height: 30px;
        min-width: 30px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s;
        margin-left: 10px;
        & > i {
            font-weight: 900;
            font-size: 18px;
        }
    }
    .add-tab-btn:hover {
        background-color: #d0d0d0;
    }
    .close-item-btn {
        display: inline-block;
        width: 20px;
        height: 20px;
        line-height: 20px;
        text-align: center;
    }
}
.add-btn-view {
    flex: 1;
    height: 100%;
    background-color: #efefef;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.container-body {
    flex: 1;
    width: 100%;
    background-color: #fefefe;
    transition: all 0.5s;
    display: flex;
    flex-direction: row;
    max-height: calc(100% - 45px);
    .menu {
        width: 120px;
        height: 100%;
        //background-color: #d0d0d0;
        background-color: #efefef;
        background-image: linear-gradient(to left, #fefefe 0, #fefefe 20px, #efefef 20px, #efefef 120px);
        .menu-inner {
            //background-color: #fefefe;
            padding-top: 15px;
        }
        .menu-item-prev {
            width: 100px;
            height: 15px;
            border-bottom-right-radius: 4px;
            background-color: #efefef;
        }
        .menu-item-next {
            width: 100px;
            height: 15px;
            border-top-right-radius: 4px;
            background-color: #efefef;
        }
        .menu-item {
            width: 100px;
            padding: 10px 0;
            //margin: 10px 0;
            //background-color: #000;
            cursor: pointer;
            user-select: none;
            //background-color: #f1f1f1;
            //border-top-right-radius: 4px;
            //border-bottom-right-radius: 4px;
            overflow: hidden;
            white-space: nowrap;
            transition: all 0.2s;
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            .menu-item-icon {
                width: 30px;
                height: 30px;
                min-width: 40px;
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: center;
                i {
                    font-size: 20px;
                }
            }
        }
        .menu-item-view {
            display: flex;
            flex-direction: row;
            height: 40px;
            align-items: center;
            overflow: hidden;
            width: 50px;
            transition: all 0.2s;
            position: relative;
            //overflow: visible;
            //background-color: #efefef;
        }

        .menu-item-active {
            width: 100px;
            background-color: #fefefe;
            overflow: visible;
            position: relative;
        }
        .menu-item-no-active {
            transition: all 0.2s;
        }
        .menu-item-no-active:hover {
            background-color: rgba(255, 255, 255, 0.7);
            overflow: visible;
            position: relative;
            border-top-left-radius: 6px;
            border-bottom-left-radius: 6px;
        }
        .menu-item-no-active:hover:before {
            content: '';
            position: absolute;
            width: 6px;
            height: 6px;
            display: block;
            //background-color: #fefefe;
            background-image: radial-gradient(6px at 6px 0px, #efefef 6px, rgba(255, 255, 255, 0.7) 6px);
            transform: rotate(-90deg);
            top: -6px;
            right: 0;
            border-top-right-radius: 6px;
            border-bottom-right-radius: 6px;
            z-index: 1000;
            transition: all 0.2s;
        }
        .menu-item-no-active:hover:after {
            content: '';
            position: absolute;
            width: 6px;
            height: 6px;
            display: block;
            background-image: radial-gradient(6px at 6px 0px, #efefef 6px, rgba(255, 255, 255, 0.7) 6px);
            transform: rotate(180deg);
            bottom: -6px;
            right: 0;
            border-top-right-radius: 6px;
            border-bottom-right-radius: 6px;
            z-index: 1000;
            transition: all 0.2s;
        }
        .menu-item-active:before {
            content: '';
            position: absolute;
            width: 6px;
            height: 6px;
            display: block;
            //background-color: #fefefe;
            background-image: radial-gradient(6px at 6px 0px, #efefef 6px, #fefefe 6px);
            transform: rotate(-90deg);
            top: -6px;
            right: 0;
            border-top-right-radius: 6px;
            border-bottom-right-radius: 6px;
            z-index: 1000;
        }
        .menu-item-active:after {
            content: '';
            position: absolute;
            width: 6px;
            height: 6px;
            display: block;
            background-image: radial-gradient(6px at 6px 0px, #efefef 6px, #fefefe 6px);
            transform: rotate(180deg);
            bottom: -6px;
            right: 0;
            border-top-right-radius: 6px;
            border-bottom-right-radius: 6px;
            z-index: 1000;
        }
    }
    .body-view {
        flex: 1;
        height: 100%;
        //padding-right: 10px;
        .body-view-inner {
            width: 100%;
            height: 100%;
            padding: 10px 0;
            overflow: hidden;
            //overflow-y: auto;
            //background-color: #f1f1f1;
        }
    }
}
